package com.fr.base.core.antlr;

public class ParseTreeToken extends ParseTree
{
  protected Token token;

  public ParseTreeToken(Token paramToken)
  {
    this.token = paramToken;
  }

  protected int getLeftmostDerivation(StringBuffer paramStringBuffer, int paramInt)
  {
    paramStringBuffer.append(' ');
    paramStringBuffer.append(toString());
    return paramInt;
  }

  public String toString()
  {
    if (this.token != null)
      return this.token.getText();
    return "<missing token>";
  }
}